your personal website on atproto - mirror blento.app
at some-fixes 14 lines 429 B view raw
1import { createCache } from '$lib/cache'; 2import { loadData } from '$lib/website/load.js'; 3import { env } from '$env/dynamic/private'; 4import type { Handle } from '@atcute/lexicons'; 5import { json } from '@sveltejs/kit'; 6 7export async function GET({ params, platform }) { 8 const cache = createCache(platform); 9 if (!cache) return json('no cache'); 10 11 await loadData(params.actor, cache, true, 'self', env); 12 13 return json('ok'); 14}